cssnode: Fix a typo leading to very poor cache hashing
authorColomban Wendling <ban@herbesfolles.org>
Sun, 1 Nov 2015 01:31:53 +0000 (02:31 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 1 Nov 2015 01:42:36 +0000 (02:42 +0100)
gtk/gtkcssnode.c

index bf4a5927ae66ff688c50ca79ad7d4a1d94c33bb0..32ddd79e58dda54f717d1c7b58063690e5262b40 100644 (file)
@@ -263,7 +263,7 @@ static guint
 gtk_global_parent_cache_hash (gconstpointer item)
 {
   return gtk_css_node_declaration_hash (UNPACK_DECLARATION (item)) << 2
-    || UNPACK_FLAGS (item);
+    | UNPACK_FLAGS (item);
 }
 
 static gboolean